"""
#!/usr/bin/python3
# coding:utf-8            
#
# Copyright (C) 2024 - 2024 Jasonakeke， Inc. All Rights Reserved 
# @Desc	   ：
# @Time    : 2024/8/4 18:09
# @Author  : Code_By_Jasonakeke
# @Email   : 2284037977@qq.com
# @File    : 06动态路由.py
# @IDE     : PyCharm
"""
from flask import Flask

app = Flask(__name__)

@app.route('/')
def helloworld():
    return 'hello world'

@app.route('/user/<int(min=1):id>')
def user(id):
    print(type(id))
    return '当前访问的用户是：用户{}'.format(id)

if __name__ == '__main__':
    app.run(debug=True)